.container {
    min-height: 100vh;
    background: #f5f7fa;
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    padding-bottom: 50px;

    :global {
        .adm-nav-bar {
            background: linear-gradient(to right, #667eea, #764ba2);
            --height: 45px;
            padding: 0 !important;
            margin: 0;
            color: #fff;
            height: 45px;

            .adm-nav-bar-left,
            .adm-nav-bar-right,
            .adm-nav-bar-title,
            .adm-nav-bar-content {
                height: 45px;
                line-height: 45px;
                padding: 0 !important;
                margin: 0;
                background: transparent;
            }
        }

        .adm-swiper {
            margin: 0;
            padding: 0;
        }
    }

    .navbar {
        background: linear-gradient(to right, #667eea, #764ba2);
        color: #fff;
        width: 100%;
        z-index: 100;
        height: 45px;
        margin: 0;
        padding: 0;
        position: fixed;
        left: 0;
        top: 0;
        .navTitle {
            font-size: 18px;
            font-weight: bold;
            color: #fff;
            height: 45px;
            line-height: 45px;
            margin: 0;
            padding: 0;
        }
    }

    .content {
        flex: 1;
        padding: 0;
        width: 100%;
        background: #f5f7fa;
        overflow-x: hidden;
        margin-top: 45px;
        .banner {
            width: 100%;
            margin: 0;
            padding: 0 16px;
            background: #f5f7fa;
            box-sizing: border-box;
            
            :global {
                .adm-swiper {
                    --height: 180px;
                    margin: 4px 0;
                    
                    .adm-swiper-track {
                        border-radius: 12px;
                        overflow: hidden;
                    }

                    .adm-swiper-indicator {
                        bottom: 8px;
                    }
                }
            }

            .bannerContent {
                height: 180px;
                width: 100%;
                background: #f5f7fa;
                position: relative;
                overflow: hidden;
            }

            .bannerImage {
                width: 100%;
                height: 200px;
                border-radius: 8px;
                object-fit: cover;
            }
        }

        .features {
            background: #fff;
            margin: 8px 16px;
            padding: 15px;
            border-radius: 12px;

            .featureItem {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 8px;

                .featureIcon {
                    font-size: 24px;
                    color: #667eea;
                }

                span {
                    font-size: 12px;
                    color: #666;
                }
            }
        }

        .courseSection {
            padding: 0 16px;
            box-sizing: border-box;
            width: 100%;
            margin-top: 16px;
            padding-bottom: 80px;
            .sectionHeader {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin: 15px 0;

                .sectionTitle {
                    font-size: 18px;
                    font-weight: bold;
                    margin: 0;
                }

                .pageControl {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    .pageInfo {
                        font-size: 14px;
                        color: #666;
                    }

                    .pageButtons {
                        display: flex;
                        gap: 8px;

                        .pageButton {
                            padding: 4px 8px;
                            background: #f5f5f5;
                            border: none;
                            border-radius: 4px;
                            color: #666;
                            
                            &:disabled {
                                opacity: 0.5;
                                cursor: not-allowed;
                            }

                            &:active {
                                background: #e8e8e8;
                            }
                        }
                    }
                }
            }

            .courseList {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 12px;
                width: 100%;

                .courseCard {
                    width: 100%;
                    max-width: 500px;
                    border-radius: 12px;
                    overflow: hidden;
                    background: #fff;
                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
                    cursor: pointer;
                    transition: all 0.3s ease;

                    .courseImage {
                        width: 100%;
                        height: 180px;
                        object-fit: cover;
                    }

                    .courseInfo {
                        padding: 12px;

                        h4 {
                            margin: 0;
                            font-size: 16px;
                            color: #333;
                        }

                        p {
                            margin: 5px 0 0;
                            font-size: 14px;
                            color: #666;
                        }
                    }

                    &:active {
                        transform: scale(0.98);
                        opacity: 0.9;
                    }
                }
            }
        }
    }

    .tabBar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        background: #fff;
        border-top: 1px solid #eee;
    }
}

.customIndicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.3);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    color: white;
    z-index: 1;
}

.recommendCourses {
    margin-top: 16px;
    padding: 0 16px;

    .sectionHeader {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 16px;

        h3 {
            font-size: 18px;
            font-weight: 600;
            margin: 0;
        }

        .pageControl {
            display: flex;
            gap: 8px;

            .controlButton {
                width: 32px;
                height: 32px;
                padding: 0;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 16px;
                background: #f0f0f0;
                border: none;

                &:disabled {
                    opacity: 0.5;
                }
            }
        }
    }

    .courseList {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;

        .courseCard {
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);

            .courseImage {
                width: 100%;
                height: 120px;
                object-fit: cover;
            }

            .courseInfo {
                padding: 12px;

                .courseTitle {
                    font-size: 14px;
                    font-weight: 600;
                    margin: 0 0 8px;
                    color: #333;
                }

                .courseDesc {
                    font-size: 12px;
                    color: #666;
                    margin-bottom: 8px;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    overflow: hidden;
                }

                .courseMeta {
                    display: flex;
                    align-items: center;

                    .price {
                        color: #ff4d4f;
                        font-size: 16px;
                        font-weight: 600;
                        margin-right: 8px;
                    }

                    .originalPrice {
                        color: #999;
                        font-size: 12px;
                        text-decoration: line-through;
                    }
                }
            }
        }
    }
}